/*
 * TraceStack.h
 *
 *  Created on: 2012/08/06
 *      Author: guanxiaoying
 */

#ifndef TRACESTACK_H_
#define TRACESTACK_H_

S4	Tr_StkCmdProcess(U2 usDo );
S4	Tr_StkPathProcess(U2 usDo );
S4	Tr_StkLoopProcess(U2 usDo );
S4	Tr_StkFuncProcess(U2 usDo );

#define Tr_StkGetTopPath() stTrPathStkAccess.getMax()
#define Tr_StkGetTopLoop() stTrLoopStkAccess.getMax()
#define Tr_StkGetTopExit() stCmdLoopExitAccess.getMax()

#define Tr_StkClearPath() stTrPathStkAccess.clear()
#define Tr_StkClearLoop() stTrLoopStkAccess.clear()
#define Tr_StkClearFunction() stFuncStkAccess.clear()
#define Tr_StkClearExit() stCmdLoopExitAccess.clear()
#endif /* TRACESTACK_H_ */
